package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserLogoutEntity;

/**
* User: user
* Date: 2023-11-22
* Time: 16:10:16.298
*/

public interface UserLogoutDao  extends BaseMapper<UserLogoutEntity> {

    /**
     * 根据用户编号查询是否有记录
     * @param userCode
     * @return
     */
    Integer getRecordByUserCode(String userCode);

    /**
     * 根据用户编号 状态修改为删除
     * @param userCode
     * @return
     */
    Integer deleteByUserCode(String userCode);

}